//----------------------------------Include------------------------------------
#include <stdio.h>
#include "my_type_rdf.h"
#include "my_mcu.h"
#include "my_board.h"
#include "my_glbvar.h"
#include "my_cmd.h"
//-----------------------------------------------------------------------------

//-----------------------------------Macro-------------------------------------
#define _OUT_STR(s)      do{ MyMcu_Uart1_SendStr(s);     }while(0)
#define _OUT_PRINTF      MyMcu_Uart1_Printf
#define _OUT_DATA        MyMcu_Uart1_Send
//-----------------------------------------------------------------------------

//---------------------------------Static Var----------------------------------
//-----------------------------------------------------------------------------

//----------------------------------Declare------------------------------------
//-----------------------------------------------------------------------------

//--------------------------------Public Func----------------------------------
int main(void)
{ 
  uint64_t  t;
  
  char      s[32];
  float     vt;
  
  MyBrd_InitMcu();
  MyMcu_PWM_SetDuty(50);
  MyMcu_Wdt_En();
  
  t = igu64_tick_ms;
  while(1){
    MyMcu_Wdt_Feed();
    
    if(igu64_tick_ms > t + 1){
      t  = igu64_tick_ms;
      _OUT_DATA((char*)gu16_data, (COL_SIZE*ROW_SIZE + PAD)*2);
    }
    
  }
  return 0;
}

//-----------------------------------------------------------------------------

//------------------------------------EOF--------------------------------------



